         {include file='header.html'}
        <link type="text/css" href="../../page/css/reset.css" rev="stylesheet" rel="stylesheet">
        <link type="text/css" href="../../page/css/kaoqin.css" rev="stylesheet" rel="stylesheet">
        <link type="text/css" href="{$common_domain}/tools/datepicker/jquery.ui.theme.css" rel="stylesheet" />
        <link type="text/css" href="{$common_domain}/tools/datepicker/jquery.ui.datepicker.css" rel="stylesheet" />
        <link type="text/css" href="{$common_domain}/tools/datepicker/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
        <script type="text/javascript" src="{$common_domain}/tools/datepicker/jquery-1.7.2.js"></script>
        <script type="text/javascript" src="{$common_domain}/tools/datepicker/jquery.ui.core.js"></script>
        <script type="text/javascript" src="{$common_domain}/tools/datepicker/jquery.ui.widget.js"></script>
        <script type="text/javascript" src="{$common_domain}/tools/datepicker/jquery.ui.datepicker.js"></script>
        <script type="text/javascript" src="{$common_domain}/tools/datepicker/DateTimePicker.js"></script>
			<div id="content">
				<i class="con_l">&nbsp;</i>
				<i class="con_r">&nbsp;</i>
				<div class="main">
					<!--我的年假begin-->
					<div class="blank"></div>

					<div class="div_date">
						<i class="i_l">&nbsp;</i>
                        <span class="sp_c">{$page.curr_time} </span>
						<i class="i_r">&nbsp;</i>
						<div class="clear"></div>
					</div>


					<div class="titname">
						<a href="/">每日考勤</a>
						<a href="/attendance/">考勤明细</a>
						<a href="/myannual/" class="selected">我的年假</a>
						<a href="/myapply/">我的申请</a>
					</div>
					<ul class="p p2">

						<li class="s tt">
                        	<div class="tt_div">
                        {if $annual.all}
							    <span class="te">年假共计</span>
	                            <span class="red">{$annual.all} </span>
							    <span class="te">天 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;已用</span>
	                            <span class="red">{$annual.used}</span>
							    <span class="te">天 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;剩余</span>
	                            <span class="red">{$annual.left}</span>
	                            <span class="te">天&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 到{$annual.clear_date} 即将过期</span>
	                            <span class="red">{$annual.need_do}</span>
							    <span class="te">天</span>
	                            {else}
	                            <span style="height:160px;">您入职还不足一年</span>
	                            {/if}
                           	</div>
							<div class="clear"></div>
                            </li>
                    {if $annual.all}
					<li class="s fir" style="border-top:1px solid #54B2F5">

							<i class="i0 i2">提交申请时间</i>
							<i class="i0 i3">时间</i>
							<i class="i0 i4">天数</i>
							<i class="i0 i5">审批人</i>

							<div class="clear"></div>
					</li>
                        {foreach from=$list key=k item=v}
                        <li {if $k eq $count} class="s last"{else} class="s"{/if}>
                            <i class="i0 i2">{$v.apply_time}&nbsp;</i>
                            <i class="i0 i3">{$v.contact_time}&nbsp;</i>
                            <i class="i0 i4">{$v.leave_time}</i>
                    		<i class="i0 i5">
                                {if $v.passinfo}{$v.passinfo}{else}({$v.status}){/if}&nbsp;
                    		</i>
							<div class="clear"></div>
                    	</li>
                        {/foreach}
                    {/if}
                    </ul>
                    {if $multipage}
                    <div class="p p3" style="text-align:right;">
                        {include file='multipage.html'}
                    </div>
                    {else}
                    <div class="p p3" style="border-right:0;border-left:0;border-bottom:0;"></div>
                    {/if}

						<!--我的年假end-->



						<!--我的申请begin-->
						<!--我的年假end-->
				</div>
			</div>
		</div>
	</body>
</html>
